<%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/10/29
  Time: 19:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //让session失效的代码
//    session.invalidate();
    application.setAttribute("key", "application");
    session.setAttribute("key", "session");
    request.setAttribute("key", "request");
    pageContext.setAttribute("key", "pageContext");

%>
<h1>${key}</h1>
</body>
</html>
